From: Matthias Clasen Date: Wed, 27 Feb 2013 04:50:29 +0000 (-0500) Subject: Show the session list when needed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4630 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a7bb6a27819ac2a8eac40888543a581c12385d8a;p=gnome-shell.git Show the session list when needed Some of the conditions for showing the user list were not properly inverted, causing the session list to be hidden when it shouldn't be and shown when it shouldn't be. https://bugzilla.gnome.org/show_bug.cgi?id=694784 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index ee366e41c..cd8dff5f2 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -753,7 +753,7 @@ const LoginDialog = new Lang.Class({ time: _FADE_ANIMATION_TIME, transition: 'easeOutQuad' }); - if (!this._user || (this._user.is_logged_in() && this._verifyingUser)) + if ((this._user && !this._user.is_logged_in()) || this._verifyingUser) this._sessionList.actor.show(); this._promptEntry.grab_key_focus();